package com.ztesoft.web.filecommon.db.dao.mapper;

import com.ztesoft.web.filecommon.db.arg.CustomizeScriptInParamsArg;
import com.ztesoft.web.filecommon.db.po.CustomizeScriptInParamsPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ICustomizeScriptInParamsMapper {
    
    List<Integer> countByArg(CustomizeScriptInParamsArg arg);

    List<CustomizeScriptInParamsPO> selectByArg(CustomizeScriptInParamsArg arg);

    CustomizeScriptInParamsPO selectByPrimaryKey(Integer id);

    List<CustomizeScriptInParamsPO> selectByArgAndPage(CustomizeScriptInParamsArg arg, RowBounds rowBound);

    int insert(CustomizeScriptInParamsPO record);

    int insertSelective(CustomizeScriptInParamsPO record);

    int insertBatch(@Param("list") List<CustomizeScriptInParamsPO> records);

    int updateByArgSelective(@Param("record") CustomizeScriptInParamsPO record,
            @Param("arg") CustomizeScriptInParamsArg arg);

    int updateByArg(@Param("record") CustomizeScriptInParamsPO record,
            @Param("arg") CustomizeScriptInParamsArg arg);

    int updateByPrimaryKeySelective(CustomizeScriptInParamsPO record);

    int updateByPrimaryKey(CustomizeScriptInParamsPO record);
    
    int deleteByArg(CustomizeScriptInParamsArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}